.sw_agent_container {
	width: 100vw;
	height: 100vh;
	padding: 8px;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #e9ebf0;
}

.sw_agent_aside {
	display: flex;
	flex-direction: column;
	transition: all 0.1s linear;
	overflow: hidden;
	flex-shrink: 0;
}

.sw_agent_aside .el-button.setting {
	display: flex;
	font-size: 20px;
	color: #606266;
	padding: 5px;
}

.sw_agent_aside .el-button.added {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 16px 8px 8px;
	font-size: 16px;
	flex-shrink: 0;
	padding: 9px;
}

.sw_agent_aside .header {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	height: 40px;
	padding: 8px;
}

.sw_agent_aside .header i.icon {
	width: 40px;
	height: 40px;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	font-style: normal;
	border-radius: 4px;
}

.sw_agent_aside .header h2 {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin-left: 10px;
	font-size: 16px;
	line-height: 1;
}

.sw_agent_aside .header .el-button {
	font-size: 20px;
	color: #606266;
	padding: 0;
}

.sw_agent_aside .el-scrollbar {
	flex: 1;
	overflow: hidden;
}

.sw_agent_aside .el-scrollbar__wrap {
	overflow-x: hidden;
}

.sw_agent_aside .bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	padding: 8px;
	height: 32px;
}

.sw_agent_aside .bottom h4 {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-transform: uppercase;
	font-weight: normal;
	margin-right: 8px;
	text-align: right;
	font-size: 12px;
	line-height: 1;
	color: #676f83;
}

.sw_agent_aside .bottom img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.sw_agent_mainbox {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-image: linear-gradient(180deg, rgba(249, 250, 251, 0.9), rgba(242, 244, 247, 0.9) 90.48%);
	border-radius: 16px;
	margin-left: 8px;
	padding: 0;
}

.sw_agent_mainbox .header {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
	justify-content: space-between;
	flex-shrink: 0;
	height: 40px;
	padding: 8px;
}

.sw_agent_mainbox .header .box {
	display: flex;
	align-items: center;
}

.sw_agent_mainbox .header i.icon {
	width: 40px;
	height: 40px;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	font-style: normal;
	border-radius: 4px;
}

.sw_agent_mainbox .header h2 {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	margin-left: 10px;
	font-size: 16px;
	line-height: 1;
}

.sw_agent_mainbox .header .el-button {
	font-size: 20px;
	color: #606266;
	padding: 6px;
}

.sw_agent_mainbox .header .el-button:hover {
	background-color: #F2F6FC;
}

.sw_agent_mainbox .el-scrollbar {
	flex: 1;
	overflow: hidden;
}

.sw_agent_mainbox .el-scrollbar__wrap {
	overflow-x: hidden;
}

.sw_agent_mainbox .bottom {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	margin: 0 auto 16px;
	max-width: 768px;
	padding: 10px;
	width: 100%;
	border-radius: 12px;
	background-color: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sw_agent_mainbox .bottom .el-input__inner {
	border: none;
	font-size: 16px;
	padding: 0 12px;
}

.sw_agent_mainbox .bottom .el-button {
	width: 36px;
	height: 36px;
	padding: 0;
	background-image: url('../img/send.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px;
}

/*对话设置开始*/
.agent_chat_setting {
	margin: 16px auto 8px;
	border-radius: 12px;
	max-width: 700px;
	width: 100%;
}

.agent_chat_setting .el-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	font-weight: bold;
	font-size: 16px;
	background: url(../img/comment.svg) no-repeat 24px center;
	padding-left: 56px;
	background-size: 18px;
	border-bottom: none;
}

.agent_chat_setting .el-card__header .el-button {
	padding: 0;
}

.agent_chat_setting .el-card__body {
	position: relative;
	padding: 0;
}

.agent_chat_setting .el-card__body::before {
	position: absolute;
	content: '';
	width: 100%;
	height: 1px;
	background-color: #EBEEF5;
	left: 0;
	top: 0;
}

.agent_chat_setting .el-form {
	padding: 24px 24px 2px;
}

.agent_chat_setting .el-form-item__label {
	line-height: 1;
	font-size: 15px;
	font-weight: bold;
}

.agent_chat_setting .el-form .el-button {
	width: 100%;
}

/*对话设置结束*/
/*内容开始*/
.agent_chat_content {
	width: 100%;
	max-width: 768px;
	padding-top: 32px;
	margin: 32px auto 0;
	position: relative;
}

.agent_chat_content::before {
	position: absolute;
	content: '';
	left: 0;
	top: 0;
	width: 100%;
	height: 1px;
	background-image: linear-gradient(to right, transparent 0, #E4E7ED 50%, transparent 100%);
}

.agent_chat_content .el-avatar {
	flex-shrink: 0;
}

.agent_chat_content .question,
.agent_chat_content .answer {
	display: flex;
	align-items: flex-start;
}

.agent_chat_content .question {
	flex-direction: row-reverse;
	margin-bottom: 10px;
}

.agent_chat_content .question .text {
	font-size: 16px;
	line-height: 1.75;
	padding: 6px 12px;
	overflow: hidden;
	margin: 0 10px 0 40px;
	box-sizing: border-box;
	max-width: 100%;
	border-radius: 12px;
	word-break: break-all;
	background-color: #e1effe;
}

.agent_chat_content .answer {
	margin-bottom: 20px;
}

.agent_chat_content .answer .text {
	font-size: 16px;
	line-height: 1.75;
	padding: 6px 12px;
	overflow: hidden;
	margin: 0 40px 0 10px;
	box-sizing: border-box;
	max-width: 100%;
	border-radius: 12px;
	word-break: break-all;
	background-color: #fff;
}

/*内容结束*/
/*气泡开始*/
.agent_popover_class {
	padding: 0;
}

.agent_popover_class .el-popover__title {
	padding: 16px 24px;
	font-weight: bold;
	font-size: 16px;
	background: url(../img/comment.svg) no-repeat 24px center;
	padding-left: 56px;
	background-size: 18px;
	border-bottom: solid 1px #EBEEF5;
}

.agent_popover_class .el-form {
	padding: 12px 24px 2px;
}

.agent_popover_class .el-form-item__label {
	line-height: 1;
	font-size: 15px;
	font-weight: bold;
}

/*气泡结束*/